package com.fc.test.mapper.auto;

import com.fc.test.model.auto.StuPostRecord;
import com.fc.test.model.auto.StuPostRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * 学生投递信息表 StuPostRecordMapper
 * @author DrRic_自动生成
 * @email drhyz@qq.com
 * @date 2020-07-05 17:21:02
 */
public interface StuPostRecordMapper {
      	   	      	      	      	      	      	      
    long countByExample(StuPostRecordExample example);

    int deleteByExample(StuPostRecordExample example);
		
    int deleteByPrimaryKey(Integer id);
		
    int insert(StuPostRecord record);

    int insertSelective(StuPostRecord record);

    List<StuPostRecord> selectByExample(StuPostRecordExample example);
		
    StuPostRecord selectByPrimaryKey(Integer id);

    List<StuPostRecord> selectByEid(Integer eid);

    int updateByExampleSelective(@Param("record") StuPostRecord record, @Param("example") StuPostRecordExample example);

    int updateByExample(@Param("record") StuPostRecord record, @Param("example") StuPostRecordExample example); 
		
    int updateByPrimaryKeySelective(StuPostRecord record);

    int updateByPrimaryKey(StuPostRecord record);

    int updateStatusBySid(@Param("sid") Integer sid, @Param("status") Integer status);

}